function reducer(state = false , action = { type:'' , params : null }) {
    var newState = JSON.parse(JSON.stringify( state ));

    switch ( action.type ) {
        case 'F' :
        //* ----逻辑代码------
        newState = action.params
        console.log(newState);
        return newState;

        
        //* ----逻辑代码------
        // case 'W' :
      
        // return newState;
        
        default: return state;
    }


    return newState;
}

export default reducer;